package com.sample.plove.database.model;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.*;
import java.io.Serializable;

/**
 * PackageName:com.sample.plove.database.model
 * Author:Administrator
 * Time:23:30
 * Date:2019/5/16
 * Describe:AccessToken实体类
 *
 * @author Administrator
 */
@Entity
@Table(name = "pv_tk_tb")
@Getter
@Setter
@ToString
public class AccessTokenEntity implements Serializable {
    private static final long serialVersionUID = 591747497381618003L;
    @Id
    @GeneratedValue
    private int id;
    @Column(name = "Access_Token")
    private String accessToken;
    @Column(name = "expiresIn")
    private int expiresIn =12;
    @Column(name = "createDate")
    private String createDate;
}
